package simpledemo;

public class CommonDuck extends Duck {

	CommonDuck(IFly fly,IQuack quack){
		this.fly=fly;
		this.quack=quack;
	}
	@Override
	public void display() {
		System.out.println("I am a common duck");
	}

}
